import {post,get} from '../utils/request'

// 封装登录接口
interface ILogin{
    admin_name:string
    pwd:string
}
const Login=<ILogin>(data:ILogin)=>{
    return post('api/visit/admin/login',data)
}

export default Login